/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.gob.foncodes.ssa.web.controller;

import java.util.List;
import java.util.ArrayList;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import org.apache.log4j.Logger;

import pe.gob.foncodes.ssa.bs.administracion.controller.GenericMaintenanceController;
import pe.gob.foncodes.ssa.bs.seguridad.domain.General;

@ManagedBean(name = "generalesController")
@SessionScoped
public class GeneralesController extends GenericMaintenanceController{
    protected static Logger log = Logger.getLogger(ConexionController.class);
    
    private List<General> lstGeneral = new ArrayList <General>();
    private General selectedGeneral= new General();
    
    private int nidGeneral;
    private int nidPadreGeneral;
    private String txtParametro;
    private String txtValor;
    private int flgActivo;
    private String txtDominio;

    @Override
    public void init() {
        inicio();
    }
    public void inicio(){
       
    }
    /**
     * @return the lstGeneral
     */
    public List<General> getLstGeneral() {
        return lstGeneral;
    }

    /**
     * @param lstGeneral the lstGeneral to set
     */
    public void setLstGeneral(List<General> lstGeneral) {
        this.lstGeneral = lstGeneral;
    }

    /**
     * @return the selectedGeneral
     */
    public General getSelectedGeneral() {
        return selectedGeneral;
    }

    /**
     * @param selectedGeneral the selectedGeneral to set
     */
    public void setSelectedGeneral(General selectedGeneral) {
        this.selectedGeneral = selectedGeneral;
    }

    /**
     * @return the nidGeneral
     */
    public int getNidGeneral() {
        return nidGeneral;
    }

    /**
     * @param nidGeneral the nidGeneral to set
     */
    public void setNidGeneral(int nidGeneral) {
        this.nidGeneral = nidGeneral;
    }

    /**
     * @return the nidPadreGeneral
     */
    public int getNidPadreGeneral() {
        return nidPadreGeneral;
    }

    /**
     * @param nidPadreGeneral the nidPadreGeneral to set
     */
    public void setNidPadreGeneral(int nidPadreGeneral) {
        this.nidPadreGeneral = nidPadreGeneral;
    }

    /**
     * @return the txtParametro
     */
    public String getTxtParametro() {
        return txtParametro;
    }

    /**
     * @param txtParametro the txtParametro to set
     */
    public void setTxtParametro(String txtParametro) {
        this.txtParametro = txtParametro;
    }

    /**
     * @return the txtValor
     */
    public String getTxtValor() {
        return txtValor;
    }

    /**
     * @param txtValor the txtValor to set
     */
    public void setTxtValor(String txtValor) {
        this.txtValor = txtValor;
    }

    /**
     * @return the flgActivo
     */
    public int getFlgActivo() {
        return flgActivo;
    }

    /**
     * @param flgActivo the flgActivo to set
     */
    public void setFlgActivo(int flgActivo) {
        this.flgActivo = flgActivo;
    }

    /**
     * @return the txtDominio
     */
    public String getTxtDominio() {
        return txtDominio;
    }

    /**
     * @param txtDominio the txtDominio to set
     */
    public void setTxtDominio(String txtDominio) {
        this.txtDominio = txtDominio;
    }
}
